package com.ruoyi.slip.service;

import java.util.List;
import com.ruoyi.slip.domain.SalarySlip;
import com.ruoyi.slip.domain.SalarySlipVO;

/**
 * 员工工资条明细Service接口
 * 
 * @author cxs
 * @date 2025-05-30
 */
public interface ISalarySlipService 
{
    /**
     * 查询员工工资条明细
     * 
     * @param id 员工工资条明细主键
     * @return 员工工资条明细
     */
    public SalarySlip selectSalarySlipById(Long id);

    /**
     * 查询员工工资条明细列表
     * 
     * @param salarySlipvo 员工工资条明细
     * @return 员工工资条明细集合
     */
    public List<SalarySlipVO> selectSalarySlipList(SalarySlipVO salarySlipvo);

    /**
     * 新增员工工资条明细
     * 
     * @param salarySlip 员工工资条明细
     * @return 结果
     */
    public int insertSalarySlip(SalarySlip salarySlip);

    /**
     * 修改员工工资条明细
     * 
     * @param salarySlip 员工工资条明细
     * @return 结果
     */
    public int updateSalarySlip(SalarySlip salarySlip);

    /**
     * 批量删除员工工资条明细
     * 
     * @param ids 需要删除的员工工资条明细主键集合
     * @return 结果
     */
    public int deleteSalarySlipByIds(Long[] ids);

    /**
     * 删除员工工资条明细信息
     * 
     * @param id 员工工资条明细主键
     * @return 结果
     */
    public int deleteSalarySlipById(Long id);

    /**
     * 计算员工工资
     * @param ids
     * @return
     */
    int calculateSalary(List<Long> ids);
}
